package com.gpy.hospital.cms.dao;

import com.gpy.hospital.cms.pojo.BookCount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author 侯瑞阳
 * @Date 2020/5/27 19:43
 * @Desc
 **/
@Mapper
public interface BookCountMapper {
    BookCount getByEmail(String email);

    void insert(@Param("email")String email, @Param("count") Integer count);

    void update(@Param("email")String email, @Param("i") int i);
}
